﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using FluentNHibernate.Mapping;

namespace AssetAllocationSystem.Models.Mapping
{
    public class AssigneeMapping : ClassMap<Assignee>
    {
        public AssigneeMapping()
        {
            Table("Assignee");
            Id(a => a.Id);
            Map(a => a.Name);
            DiscriminateSubClassesOnColumn<int>("Type", -1);
        }
    }
}